/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Collection;
import java.util.List;


/**
 *
 *
 * @author yzh
 * @date 2021-3-29
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListLearnRecordRequest {
	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 文档id
	 */
	private Long lessonId;

	/**
	 * 文档id
	 */
	private List<Long> lessonIds;
	/**
	 * 培训Id
	 */
	@ApiModelProperty(value = "培训Id")
	private Long trainId;
	/**
	 * 培训Id
	 */
	private Collection<Long> trainIds;
	/**
	 * 培训分类
	 train_year-年度培训
	 train_common-普通培训
	 */
	private String trainClassify;
	/**
	 * 获取全部标识
	 */
	private Boolean getAllFlag;
	/**
	 * 学习用户Id
	 */
	private Long learnUserId;
}
